<div class="panel panel-primary">
    <div class="panel-heading">值绑定</div>
    <div class="panel-body">
      <img [src]="imgSrc">
      <button class="btn btn-success" (click)="changeSrc()">修改图片的src</button>
    </div>
  </div>